package com.example.demo.yjcx.dao;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * @author linjingze
 * @date 2023/12/21 3:50 PM
 */
@Data
@TableName("warehouse")
@NoArgsConstructor
public class Warehouse implements Serializable {

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    private String name;


    public Warehouse(String name) {
        this.name = name;
    }
}
